package com.kfm.shop.service.impl;

import com.kfm.shop.domain.User;
import com.kfm.shop.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public User findUser(Integer id) {

        User user = new User();
        user.setId(1);
        user.setUsername("kfm");
        user.setPassword("123456");
        user.setEmail("example@qq.com");
        user.setPhone("1234567890");
        return user;
    }
}
